package com.xiaohai.wx.weather.dto;


import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;


@Entity
public class User {
	
	@Id
	private String openId;
	
	private String fakeId;

	private String remarkName;

	private String nickName;

	private String groupId;

	private String location;
	
	private String mapKey; //used to map open id and fake id 
	
	private Date guanzhuTime;
	
	
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String id) {
		this.openId = id;
	}
	
	public String getFakeId() {
		return fakeId;
	}
	public void setFakeId(String fakeId) {
		this.fakeId = fakeId;
	}
	public String getRemarkName() {
		return remarkName;
	}
	public void setRemarkName(String remarkName) {
		this.remarkName = remarkName;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}

	@Override
	public String toString() {
		return "WeiXinFans [openId=" + openId +", fakeId=" + fakeId + ", nickName=" + nickName
				+ ", remarkName=" + remarkName + ", groupId=" + groupId 
				+ ", location="+ location 
				+ ", mapKey="+ mapKey + ", guanzhuTime="+ guanzhuTime +"]";
	}
	
	public String getMapKey() {
		return mapKey;
	}
	
	public void setMapKey(String key) {
		this.mapKey = key;
	}
	public Date getGuanzhuTime() {
		return guanzhuTime;
	}
	public void setGuanzhuTime(Date guanzhuTime) {
		this.guanzhuTime = guanzhuTime;
	}
	

}
